package com.udaos.modules.field.services;

import java.util.List;

import org.nutz.aop.interceptor.ioc.TransAop;
import org.nutz.dao.Dao;
import org.nutz.ioc.aop.Aop;
import org.nutz.ioc.loader.annotation.IocBean;

import com.udaos.common.base.Service;
import com.udaos.models.field.Ud_field_photo;

/**
 * 场地图片Service
 * @author Administrator
 *
 */
@IocBean(args = { "refer:dao" })
public class UdFieldPhotoService extends Service<Ud_field_photo>{
	public UdFieldPhotoService(Dao dao) {
		super(dao);
	}
	
	/**
	 * 批量插入数据
	 * @param list
	 */
	@Aop(TransAop.READ_COMMITTED)
	public void add(List<Ud_field_photo> list) {
		dao().insert(list);
	}

	
}
